<?php

declare(strict_types=1);

namespace App\CustHub\Constants;

use App\Common\Constants\AbstractBaseConstants;
use Hyperf\Constants\Annotation\Constants;

#[Constants]
class ChRoleDataScopeTypeConstants extends AbstractBaseConstants
{
    /**
     * @Message("仅自己")
     */
    public const SELF = 0;

    /**
     * @Message("全部子账号")
     */
    public const ALL_SUB_ACCOUNT = 1;

    /**
     * @Message("自定义数据范围")
     */
    public const CUSTOM_DATA_SCOPE = 2;
}